home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ENGINEER / H477.ZIP / PCAT1.DOC < prev    next >
Text File  |  1991-02-06  |  38KB  |  849 lines

  1.  
  2. NOTE:  The user interface of PCAT was redesigned.  (Program is PC2.EXE)
  3.        Therefore, much of the screen references to this and PCAT2.DOC
  4.        will be inaccurate.  However, much of the concept remained the
  5.        same so there should be something that you can learn from this.
  6.  
  7.  
  8.                         Introduction to PCAT (PC2.EXE)
  9.  
  10.      PCAT is the module in the COPAN system which serves as a material 
  11.      property editor and database.   PCAT is  actually an abbreviation 
  12.      for Property CATalog.
  13.  
  14.      The primary function of PCAT is to create and edit data files 
  15.      containing material properties for cores and plies.   PCAT also 
  16.      maintains a unit base file which is used by the other modules in 
  17.      the work that they perform. 
  18.  
  19.      Of all the COPAN/II programs,  PCAT was the least exciting to  
  20.      write because it does such non-creative work:  it writes data 
  21.      files.   But do not misunderstand, PCAT itself is not boring.  
  22.      Quite to the contrary, PCAT is one of the  finest composite 
  23.      material database programs that can be found on the market.   
  24.      Billions of work hours went into its creation and it does very 
  25.      well what it does.   It's operation is effortless and efficient.   
  26.      This module, as well as the others, was designed to allow 
  27.      virtually anyone to analyze composite panels.   Actually,  we 
  28.      believe that all these pages of explaining how to use it is 
  29.      contrary to its simplicity.  Unfortunately, todays software 
  30.      customer expects something with a binding to be included with the 
  31.      disks...if they didn't copy the program. 
  32.  
  33.                         ------------------------------
  34.                         |                 |          | 
  35.                         |                 |          |
  36.                         |        2        |          |
  37.                         |                 |          |
  38.                         |                 |     3    |
  39.                         |                 |          |
  40.                         |-----------------|          |
  41.                         |        1        |          |
  42.                         ------------------------------
  43.                       The PCAT windows shown in Hi-Res
  44.      
  45.      PCAT uses multiple windows to communicate with you.   There are 
  46.      four primary windows that you will become familiar with.   Each 
  47.      of them has a slightly different function. 
  48.  
  49.      Window 1
  50.  
  51.      It is here that the diamond cursor Main> prompt will appear 
  52.      when PCAT is first booted.   The cursor will not blink so don't 
  53.      expect it to.
  54.  
  55.      Window 1 is where all of the keyword commands will  be  entered.   
  56.      Most of the commands will be available via the function keys F1-
  57.      F10.   To  make it as simple as possible, the 25th row will show 
  58.      which commands are assigned to which function keys.   By pressing 
  59.      the appropriate function key,  the command will be automatically 
  60.      entered.  A carriage return <CR> is added to each so that 
  61.      immediately after the command is displayed, it is entered.   This 
  62.      way, all it takes is a single key to kick-in most routines. 
  63. 
  64.  
  65.  
  66.      Window 2
  67.  
  68.      The second window is located in the upper left hand area and is 
  69.      used as a display area for larger text groups such as material 
  70.      entry for plies and cores and showing the disk directories. 
  71.  
  72.  
  73.      Window 3
  74.  
  75.      The third window is a help oriented partition that is used to 
  76.      display narrative prompts to assist users with the entry of 
  77.      correct keystrokes.  This window is about 25 columns wide and 
  78.      runs along the right side of the screen. 
  79.  
  80.  
  81.      Window 4
  82.  
  83.      The very bottom row of the screen is used to display all of the 
  84.      available keywords.  Each keyword is assigned to a corresponding 
  85.      function key.   The function keys may be reassigned by using the 
  86.      SWITCH command. 
  87.  
  88.  
  89.  
  90.      PCAT Operational Instructions
  91.  
  92.      Screen Saver
  93.  
  94.      Should you be called away from the monitor during a PCAT session,
  95.      you may return and find that PCAT has vanished.  However, don't 
  96.      panic--everything is fine. 
  97.  
  98.      If no activity occurs for a duration of about a minute, PCAT will 
  99.      assume that  you got bored and went home.   At that time, the 
  100.      screen will be cleared to keep your monitor in showroom 
  101.      condition. 
  102.  
  103.      PCAT will then "roll some dots" to let everyone know that nothing 
  104.      has frozen-up. 
  105.  
  106.      To  signal that work is ready to commence,  stab any key and the 
  107.      Main> will  be returned.   The timer will then be reset in the 
  108.      event you're called away again.  This screen saver is active only 
  109.      in the Main> level. 
  110.       
  111.  
  112.  
  113.      WARNING: No UNITS Read
  114.  
  115.      When running PCAT for the first time, this message may appear in 
  116.      the upper right hand corner of the screen.   This indicates that 
  117.      a certain PCUNITS.001 file was not read from disk.  This possibly 
  118.      is because the PCAT that you possess has been supplied without a 
  119.      predefined set of units. 
  120.  
  121.      In most instances, we have preset these units based  on your  
  122.      requirements.   However, with  the growing  popularity  of 
  123.      COPAN/II, it is possible that you have received a version that 
  124.      does not contain the unit file.  In this instance, you will have 
  125.      to define these units on your own. 
  126.  
  127.      The other reason that this might occur is if you booted PCAT from 
  128.      one drive/path while the PCUNITS.001 file exists in another.   If 
  129.      this is this case, it will be necessary to use the keyword GET so 
  130.      that the units may be established. 
  131.  
  132.  
  133.      Why define the Unit Base?
  134.  
  135.      To begin the process of constructing the material  datafiles,  it 
  136.      is necessary to establish in which unit base you will be working. 
  137.      By defining the unit base,  you will be lowering the potential of 
  138.      entering property data which has not been properly converted. 
  139.      PCAT does not require the user to enter data in a factory 
  140.      predefined set of units but rather in a user predefined  set. 
  141.      Once the units have been defined using the keyword UNITS, all 
  142.      subsequent data records should be entered in a fashion consistent 
  143.      with this definition.  This means that after you have created the 
  144.      first data record,  the unit base should not be changed.   ALL 
  145.      records must have a consistent unit base. 
  146.  
  147.      For example, if you create a ply record with the mechanical units 
  148.      in PSI, all records must be in PSI.   If you wish to input a ply 
  149.      which is in Pascals,  it must first be converted to PSI.   PCAT 
  150.      does not make conversions.  A separate program called CONVERT is 
  151.      included on the system disks to assist with this type of 
  152.      application. 
  153.  
  154.  
  155.      How to Establish the UNIT Base    [UNITS]
  156.  
  157.      To establish the unit base, enter the keyword UNITS after the 
  158.      Main> prompt.  This keyword may be abbreviated with the first two 
  159.      letters or it may be invoked using the function keys. 
  160.  
  161.      If done properly, the UNITS command should produce a small 
  162.      narration  and a list of the current units in the  data  window. 
  163.      When no units have been defined, no units will appear.  Simple. 
  164.       
  165.  
  166.  
  167.      Where to begin...
  168.  
  169.      To set the units, it is logical to begin with number one and work 
  170.      down the list.   By pressing key [1], a short menu of available 
  171.      mechanical units will appear.   Choose the unit base which 
  172.      corresponds to the units in which you will be entering your 
  173.      material properties.   Because all menu choices can be  signaled 
  174.      with a single keystroke, PCAT will respond without the <CR>. 
  175.  
  176.      After all units have been defined, it will be necessary to record 
  177.      your choices on disk.  The drive and path which will be used in 
  178.      the save will be those which existed prior to loading  PCAT.   It 
  179.      should be included that this is true only if you have not changed 
  180.      them using the PCAT keyword DRIVE. 
  181.  
  182.      Saving the new unit base
  183.  
  184.      To save the units which appear in the Status Menu,  simply press 
  185.      the [Esc] key.   The filename as well as the drive and path used 
  186.      will be displayed immediately after the [Esc] entry.  When the 
  187.      save is complete, a message will indicate such and PCAT will 
  188.      pause until any key is depressed. 
  189.  
  190.      This is done so that you will know what has been saved and where.  
  191.      Remember  to save the unit file on the same disk which contains 
  192.      PCAT because one of the first statements in the program  is a 
  193.      call to the procedure which reads the file. 
  194.       
  195.  
  196.  
  197.      Manual Read of the UNIT File   [GET]
  198.  
  199.      In the event you disobey this last suggestion it is possible to 
  200.      "force a read" of the unit file.   Let's consider the example 
  201.      given here: 
  202.  
  203.           You have created your unit file on a floppy disk,
  204.           which is in the A drive,  but you carelessly booted
  205.           PCAT from a C>  drive default. ie. C>PC  This means
  206.           that PCAT will not find the unit  file  on its first
  207.           attempt because  it  will  be looking in the C> drive.
  208.  
  209.           Rather than have to exit and restart,  it is  possible
  210.           to read  the  unit  file  with little  effort.  All
  211.           that  is required,  is  to  issue  a DRIVER command  to
  212.           change  the default  to A:\,  or the appropriate
  213.           subdirectory in  which the UNIT file resides,  and then
  214.           enter the  keyword GET.  This  will call the same
  215.           procedure that PCAT used when  the program was started.
  216.           This time however, the read should be successful  given
  217.           that the file actually exists on the  new default.
  218.  
  219.           Remember that these are two separate keywords.  Enter
  220.           DRIVER <CR> (or use the function key) and set the
  221.           new default.   Then,  after the Main> has been
  222.           returned, the GET should be entered.  Entering Main>
  223.           DRIVER GET will be construed as a DRIVER Command.
  224.      
  225.  
  226.      CREATING RECORDS - SETTING OUTPUT FILE NAMES
  227.  
  228.      At this point you are now ready to begin creating core and ply 
  229.      records. 
  230.  
  231.  
  232.      Default File Names
  233.  
  234.      Core and ply records are stored in separate data files each 
  235.      designated with its own unique name.  When PCAT is initialized at 
  236.      start-up the filenames are set automatically.  These filenames 
  237.      are displayed in the opening screen and are referenced as  FILE1 
  238.      and FILE2.   FILE1 is given the name PLYDATA.MAT while FILE2 is 
  239.      called COREDATA.MAT  Which file holds which data should be rather 
  240.      obvious. 
  241.  
  242.      Before you begin to create any records, you need to decide  if 
  243.      these names are appropriate.  PCAT was designed to hold all plies 
  244.      in one file and all cores in  another.  However, the file size is 
  245.      limited to 50 plies.  This limit was established due not to a 
  246.      PCAT design problem, but more one of disk access time.   Because 
  247.      these are sequential ASCII files, the entire file must be read if 
  248.      you are editing the last record. 
  249.       
  250.  
  251.  
  252.      Why use such slow files?
  253.  
  254.      While this is an obvious disadvantage,  we felt that ASCII files 
  255.      would provide the vital necessity of allowing users to easily 
  256.      manipulate the data with an editor such as PC-WRITE or to allow 
  257.      extension modules to be developed by independent programers. 
  258.  
  259.  
  260.      Building Individual Material Files
  261.  
  262.      Another concept using filenames might be to catalog materials 
  263.      according to manufacturer.  All cores from Hexcel in a HEXCEL.MAT 
  264.      file, all PVC foam cores in a PVCFOAM.MAT file and so on.   Your 
  265.      ply datafiles could be organized in  the same manner;  
  266.      KNYTEX.MAT,  COFAB.MAT,  ORCON.MAT or whatever...   By using this 
  267.      method, you would minimize the number of records in each, thereby 
  268.      reducing your disk access time during edit sessions. 
  269.  
  270.      This multi-file concept is supported by LAMCON, the laminate 
  271.      stacking program, as the catalog name is kept variable.  In other 
  272.      words, before each create or edit session in LAMCON, a catalog 
  273.      filename is requested. 
  274.  
  275.      If you decide to use filenames other than the default, you have 
  276.      the option of changing them. 
  277.  
  278.  
  279.      Using the Keyword FILE
  280.  
  281.      This is done by entering  the  keyword FILE or NAME.  This must 
  282.      be done BEFORE a core or ply record is created. 
  283.  
  284.      A small routine will then help you to install two filenames.  Any 
  285.      valid DOS filename is acceptable.  When this is complete, the new 
  286.      filenames will be posted in the upper right hand corner where the 
  287.      original defaults appeared.   NOTE:  When entering these names,
  288.      you must use a .MAT extension as LAMCON will not read any other 
  289.      type.  PCAT will not automatically add the .MAT extension.
  290.  
  291.      After the filenames have been set,  it is then possible to begin 
  292.      to create records. 
  293.       
  294.  
  295.  
  296.      CREATING RECORDS
  297.  
  298.      Creating Core Records
  299.  
  300.      To create a core record, the keyword CORE is entered  at the 
  301.      Main>.   Upon doing so, a prompt will appear to determine whether 
  302.      you wish to create or edit a core record. 
  303.  
  304.      The first letters of Create and Edit will be highlighted in
  305.      bright white.  This means that in order to choose one or the 
  306.      other, all that is necessary is the stroke of a  single key.  
  307.      Should you stroke any key other than the [C] or the [E],  PCAT 
  308.      will construe this as a request to terminate.   Control will then 
  309.      be returned to the Main> prompt. 
  310.  
  311.      The Create option...
  312.  
  313.      After the [C] has been pressed, the command window will then 
  314.      display a new prompt allowing you to begin or escape.  A <CR> 
  315.      is necessary to begin the data entry sequence.   When, on those 
  316.      rare occasions, you make a mistake and wish to escape, this is no 
  317.      sweat as the [Esc] key will magically transport you back to the 
  318.      Main. 
  319.  
  320.      A <CR> response produces a screen of text items which 
  321.      describes the variables which must be input.   The screen will 
  322.      appear as follows:
  323.  
  324.      ----------------------------------------------< Active Filenames >
  325.         Core Description:>>                        Ply File> PLYDATA.MAT
  326.         Secondary Text  :                          CoreFile> COREDATA.MAT
  327.                                                    Path> C:\COPAN
  328.         Density:                                         
  329.                                                          
  330.                      Strength        Modulus             
  331.                      --------        -------             
  332.         Comp. >                                          
  333.         Shear >                                          
  334.         Tens. >                                          
  335.                                                          
  336.         Poisson's Ratio:                                 
  337.                                                          
  338.         Cost File:                                       
  339.         Text 1:                                          
  340.         Text 2:                                          
  341.                                                          
  342.      ----------------------------------------------------
  343.      ----------------------------------------------------
  344.                         Core Creation                    
  345.         1>>                                              
  346.      ----------------------------------------------------
  347. 
  348.  
  349.  
  350.      A small blue bracket (for those of you with color) will appear in 
  351.      two places in the create screen.   The bracket in the command 
  352.      window  (with the header CORE CREATE) will be positioned to the 
  353.      left most column and will have a small blinking cursor to its 
  354.      immediate right. 
  355.  
  356.      Using the entry cursors...
  357.  
  358.      This of course, means that any characters typed will be returned 
  359.      at this cursor location.   But for which information is PCAT 
  360.      waiting?   The answer can be found by locating the other matching 
  361.      blue bracket in the data window.   This bracket  (called the 
  362.      pointer) will be easy to find as it will be blinking at about the 
  363.      same speed as the cursor.   The text which is on the same line as 
  364.      the pointer is the information for which PCAT is awaiting.   The 
  365.      first item will be the core description, the second will be a 
  366.      secondary description, and third will be core density and so on 
  367.      down the record. 
  368.  
  369.      To signal to PCAT that you have completed an input line, the 
  370.      <CR> is used to advance to the next data item. 
  371.  
  372.  
  373.      Correcting Mistakes
  374.  
  375.      If an incorrect character is input, the backspace [<--] key is 
  376.      used to remove it.  Each press of the [<--] key will subtract the 
  377.      last character in the string buffer.   After it is subtracted, 
  378.      the cursor is then moved one place to the left.   If the [<--] 
  379.      key is pressed as many times as there are characters in the 
  380.      buffer,  the cursor will continue to move left, and remove old 
  381.      characters from the screen and buffer until it is back at the 
  382.      original starting location.  Additional [<--] entries will do 
  383.      nothing. 
  384.  
  385.  
  386.      Backspacing up the record
  387.  
  388.      Pressing the [Esc] key twice will move the input sequence  back 
  389.      two items and so on.   When the blinker is at the first item (the 
  390.      Primary description), an [Esc] entry will produce the original 
  391.      entry prompt which will allow exit from the record without save.  
  392.      The option to go back into the record will also be available  by 
  393.      pressing the <CR>. 
  394.       
  395.  
  396.  
  397.      Previous data preserved by PCAT
  398.  
  399.      All of the data items that had been entered up to the point 
  400.      where the [Esc] key was first pressed will be preserved.   The 
  401.      blinker can be moved back down the record with multiple  
  402.      <CR>'s.  This  way  data values need not be re-entered just 
  403.      because the blinker is passing by. You should think of the [Esc] 
  404.      key as the [ ] and the <CR> as the [v].   This concept 
  405.      required a few extra lines of code, but we thought it was worth 
  406.      all those saved keystrokes.   (Think how much longer your 
  407.      keyboard will last because of our forethought...what a deal). 
  408.  
  409.  
  410.      A SINGLE CORE RECORD
  411.  
  412.      The following is a brief description of the data items that  make 
  413.      up a single core record. 
  414.  
  415.  
  416.      Primary Description
  417.  
  418.      The first item in a core record is the primary description of the 
  419.      core.   This is any 32 characters that you feel will do the job.   
  420.      This description will be used by LAMCON when prompting you for 
  421.      core selections. 
  422.  
  423.      If  you  want to include a density designation,  it is suggested 
  424.      that you define this first (ie., 75 ACMEcell rather than ACMEcell 
  425.      75)   The reason for this is that LAMCON will use only a leading 
  426.      portion of the description  in order to maximize the screen 
  427.      display.   
  428.  
  429.      If more than 32 characters are input,  only the first 32 will  be 
  430.      used.  No error or warning will be issued by PCAT that the string 
  431.      was truncated. 
  432.  
  433.  
  434.      Secondary Description
  435.  
  436.      This is another text line of 32 characters which was originally 
  437.      intended for the name of the manufacturer but what it is actually 
  438.      used for is up to you.   Consider it an extra line to hold 
  439.      whatever data you consider worth holding.   An example of what 
  440.      might go here is the type of core material.  eg. PVC, PU, 
  441.      BALSA... 
  442.       
  443.  
  444.           
  445.      Density
  446.  
  447.      This value is to represent the density of the core  material in 
  448.      units as specified with the keyword UNITS. The required units 
  449.      will be displayed in the right hand window of PCAT. 
  450.  
  451.      
  452.      Compression Values
  453.  
  454.      The first of the mechanical units in the record is  compression.   
  455.      Strength is entered first, then modulus.  The entries are 
  456.      converted to a scientific format so that they fit evenly on the 
  457.      screen.  These values are usually very easy to obtain from core 
  458.      manufacturers because testing is quick and easy. 
  459.      
  460.  
  461.  
  462.      Shear Values
  463.  
  464.      The second of the mechanical units in the record is shear. 
  465.  
  466.      Strength is entered first, then modulus.   These values are  also 
  467.      very easy to obtain  from  core manufacturers but the problem 
  468.      then becomes accuracy.  Because the value of a  core is sometimes 
  469.      based on it's shear data, the advertised values may be on the 
  470.      high side.  To be on the safe side, get a few opinions and 
  471.      develop an average. 
  472.  
  473.  
  474.      Tension Values
  475.  
  476.      The last of the mechanical units in the record is tension.  These 
  477.      values are not vitally important because the core material is 
  478.      usually not put into direct tension. 
  479.  
  480.      Poisson Ratio
  481.  
  482.      Not much can be said here except that this is a real value.
  483.      
  484.      
  485.      C2BASE Costfile
  486.  
  487.      This is one of the interesting features of the COPAN/II system.   
  488.      When this package was designed, it was realized by the authors 
  489.      that cost analysis is equally important as strength and stiffness 
  490.      calculations. 
  491.       
  492.  
  493.  
  494.      Due to this realization, it is possible to catalog all core costs 
  495.      using the module C2BASE.   This program sets up another text file 
  496.      which holds all costs for a specific file or manufacturer.   Using 
  497.      C2BASE, you build a type of spreadsheet for all densities and 
  498.      thicknesses.   Then, when it's time to analyze costs, it is not 
  499.      necessary to have a current price sheet available.   This is a 
  500.      really nice option for those persons using COPAN/II on the 
  501.      portable/lap machines. 
  502.  
  503.      If you do not wish to use this feature, there is no need for 
  504.      alarm.  Simply press the <CR> and PCAT will place a flag in 
  505.      the file which means you elected to not use this option. 
  506.  
  507.      If you do wish to use it,  enter a filename that you will use 
  508.      later to hold cost data.  For example, for a Klegecell core, you 
  509.      might use the name KCELL.  For Divinycell- DCELL and so on. 
  510.      
  511.  
  512.  
  513.      Additional Text 1
  514.  
  515.      Whatever additional information you wish to store with the record 
  516.      is held in the last two data items.   The limitation is 32 
  517.      characters.  If you use more than 32, PCAT will ignore them. 
  518.  
  519.  
  520.      Additional Text 2
  521.  
  522.      Same applies here as above.  Rather than duplicate the  text, 
  523.      please rotate your eyeballs a few degrees up and read  again.  
  524.      Thanks. 
  525.  
  526.      
  527.  
  528.  
  529.      SAVING CORE RECORDS
  530.  
  531.      When the last data item has been entered into the  record, a 
  532.      message will be displayed in window 2 which indicates the current 
  533.      options.  Here it  is possible to do one of three things: 
  534.  
  535.                    Options       Key
  536.                    ----------    -----------
  537.                    Save it       [S]
  538.                    Change it     [Esc]
  539.                    Abandon it    [SPACE BAR]
  540.       
  541.  
  542.  
  543.      Save [S]
  544.  
  545.      When a record is saved while in the create mode,  it is  merely 
  546.      appended to the existing datafile.   If one does not exist, then 
  547.      one is created and the record then becomes the first in the file. 
  548.  
  549.      To record the information, a single press of the [S] key  will 
  550.      write the data to disk.   The name of the file written and where 
  551.      it was written will be displayed.  When the save sequence is 
  552.      complete, the entry prompt will be displayed in the command 
  553.      window.   In addition, all of the information which was on the 
  554.      screen is removed, which gives the appearance of a fresh record 
  555.      waiting for new data.   At this point a <CR> will begin the 
  556.      data entry  sequence again while the [Esc] key terminates CREATE 
  557.      and returns control to the Main> prompt. 
  558.  
  559.  
  560.      Change   [Esc]
  561.  
  562.      If a bad character or value is detected before the [S]  key is 
  563.      pressed, it can be changed by backspacing up the record using the 
  564.      [Esc] key.  Each press of this key causes the blinker to move one 
  565.      field up the record. 
  566.  
  567.      When the blinker points to the data item which requires  change, 
  568.      key in the new value or string and enter it with a <CR>.   
  569.      The corrected value or character string will be displayed over 
  570.      the old  one.   Make all changes this way using the [Esc] key to 
  571.      move up  the record and the <CR> to move down.   When the 
  572.      changes are complete, keep pressing the <CR> until the 
  573.      blinker moves beyond the last data item.   Don't worry about 
  574.      entering too many <CR>'s, when  you reach the bottom of the 
  575.      record, as additional  <CR>'s have no effect. 
  576.  
  577.      When the end of the record is reached, these three options  are 
  578.      again presented. 
  579.      
  580.  
  581.      Abandon      [SPACE BAR]
  582.  
  583.      If for some reason you do not wish to save the record on disk, it 
  584.      is possible to bypass the disk writing procedure by pressing the 
  585.      [SPACE BAR] once.   Usually if the time is spent to enter the 
  586.      record, it would make sense to save it.  However, it is possible 
  587.      that you may have just finished entering a Klegecell core with a 
  588.      DIAB.MAT  filename waiting in the wings.   Rather than write a 
  589.      record to the wrong file, the [SPACE BAR] can come to the rescue. 
  590.       
  591.  
  592.  
  593.      EDITING CORE RECORDS
  594.  
  595.      To edit a core record, the keyword CORE is entered at the Main>.   
  596.      Upon doing so, a prompt will appear to determine whether you wish 
  597.      to create or edit a core record. 
  598.  
  599.      As before, the first letters of Create and Edit will be
  600.      highlighted in bright white.   This time, the [E] key is used.
  601.  
  602.      After [E] has been pressed, the command window will produce a 
  603.      prompt for the record that should be retrieved  from disk.   A 
  604.      small message will also be displayed in the data window reminding 
  605.      you that you must know which record number you wish to edit. 
  606.  
  607.  
  608.      Scanning For Records
  609.  
  610.      Should you forget which record is which, a scan function is 
  611.      available from the Record #>   By entering the letter [S] a scan 
  612.      of all records will be produced on the screen. 
  613.  
  614.  
  615.      What is a scan?
  616.  
  617.      A scan consists of the record # and its primary description.   
  618.      The record data will be output to the screen without pause so if 
  619.      the file contains more than a screenful, it will be  necessary to 
  620.      execute a keyboard interrupt using the [Ctrl]  [S].   By 
  621.      pressing [Ctrl] and then [S] you will cause output to stop.   
  622.      To resume the action, press the [S] key again.   If you need to 
  623.      stop it again, repeat this keyboard sequence.
  624.  
  625.      If you are not fast enough,  just do another scan by entering the 
  626.      [S] again when the Record #> prompt returns. 
  627.  
  628.      When the record # is determined, enter it at the Record #> prompt 
  629.      and don't forget the <CR>.  After a slight delay for disk 
  630.      access, the data screen will be replaced with what looks like a 
  631.      new record without data.  Actually, that's not the case.  All of 
  632.      the data  has been read into the memory but they haven't yet been 
  633.      put on the screen. 
  634. 
  635.  
  636.  
  637.      Looking at the existing values...
  638.  
  639.      To view them, press the <CR>.   Each <CR> will produce 
  640.      one value.   The blinker will show where the next value or string 
  641.      will be placed.   If it is known exactly which data item requires 
  642.      edit, the <CR> should be pressed until the blinker is 
  643.      pointing to it. 
  644.  
  645.      By typing in the new value and ending with a <CR>,  the new 
  646.      value is placed on the screen.   If too many <CR>'s are 
  647.      entered,  the blinker can be moved backward using the [Esc] key.   
  648.      If this sounds familiar, it's because this is the same routine 
  649.      that was used for CREATE.   Except with CREATE,  the sequence 
  650.      begins with all strings set to null and all values = 0.   Here,  
  651.      the variables are first filled with the record data which was 
  652.      read from  disk.   At the completion of the edit, press the 
  653.      <CR> until the blinker moves beyond the last data item. 
  654.  
  655.      This will bring back those same three options which allow you to: 
  656.  
  657.                        Save - Change - Abandon
  658.  
  659.      For the Change and Abandon,  the same explanations apply as did 
  660.      for the CREATE.   If you're unsure about these you might want to 
  661.      flip back a few pages and refresh your memory. 
  662.  
  663.      The Save is the same in terms of use.  That is,  all you do  is 
  664.      extend one finger and apply a few ounces of pressure on the [S] 
  665.      key.  PCAT does the rest. 
  666.  
  667.      What you will then see on the screen is what filename was used 
  668.      and where it was written.   This information is just to keep you 
  669.      informed of where your data was moved to and to confirm that it 
  670.      is where you intended. 
  671.  
  672.  
  673.      PCAT does some housecleaning...
  674.  
  675.      After the primary save is complete, PCAT takes care of a few 
  676.      other details which, for the most part, remain fairly transparent 
  677.      to the user.  The only exception to this transparency is that 
  678.      your edited record now exists at the end of the file even if it 
  679.      was the first one when you began. 
  680.  
  681.      Because of the nature of sequential files, it is necessary to 
  682.      write the entire file even if only a single record is being 
  683.      changed.   Rather than read the entire file into RAM,  PCAT reads 
  684.      only one record at a time and stops after it has read the 
  685.      requested record #. 
  686.       
  687.  
  688.  
  689.      If for example, record #5 in a file of 15, requires edit, the 
  690.      first five files must be read before the edit may begin.   When 
  691.      the edit is complete, the correct data must now be inserted back 
  692.      into the file.  However, because the entire file was not read it 
  693.      is not possible to write this corrected record back into its 
  694.      original location. 
  695.  
  696.      One too many records...
  697.  
  698.      So what PCAT does is write the edited record at the end of the 
  699.      file.  But now a problem arises, because two records with the 
  700.      same general information exist with the exception that one is 
  701.      correct and one is not. 
  702.  
  703.      PCAT must now restack the file to remove the old record so  that 
  704.      the total number of records is equal to the pre-edit level. 
  705.  
  706.  
  707.      The .UNM file
  708.  
  709.      The first action is to rename the appended file as filename.UNM.  
  710.      The .UNM is the file extension which indicates UNModified.   The 
  711.      UNM file will continue to grow with every edit.   This  way a 
  712.      historical  file is maintained which can be used if an old value 
  713.      needs to be reinstated.   PCAT does not use .unm files so if you 
  714.      wish, you may delete it. 
  715.  
  716.      After the appended file has been renamed with the .UNM extension 
  717.      a new file is written which uses the current  core filename.  
  718.      Before the rewrite begins, a flag is set to the number of the 
  719.      most recently edited record.  The new file is then created using 
  720.      data from the .UNM file.   When the record number in the new file 
  721.      equals the flag,  the write operation pauses while input from the 
  722.      .UNM file  continues.   This effectively skips over the edited 
  723.      record in the .UNM file and continues for the remainder.   The 
  724.      result is that the edited record moves from its original position 
  725.      to the end of the file. 
  726.  
  727.                        
  728.           COREDATA.MAT      COREDATA.UNM      COREDATA.MAT
  729.                A                 A                  A
  730.                B                 B    Restacked     C
  731.                C      Becomes    C      to ---->    D
  732.                D  ----->         D                  B'
  733.                B'                B'
  734.  
  735.  
  736.      This process should not present a problem unless you had  your 
  737.      heart set on memorizing where each record was in the file.  Even 
  738.      this is not a problem as long as you don't edit your materials. 
  739.       
  740.  
  741.  
  742.      What happens then?
  743.  
  744.      When the edited SAVE is complete,  the Record #> prompt will be 
  745.      redisplayed in the command window assuming that another record 
  746.      will be modified.   By entering a valid record #,  the entire 
  747.      process begins again.   If the assumption is not correct,  the 
  748.      Main> can be accessed by entering a null string.   This  complex 
  749.      task involves pressing the <CR> once.   PCAT will respond  
  750.      with "Edit  session  terminated" and will wait for another key to 
  751.      be pressed.   At that time, the screens will clear and PCAT will 
  752.      be ready for the next Main> Keyword. 
  753. 
  754.  
  755.  
  756.      CREATING PLY RECORDS
  757.  
  758.      Creating a ply record is just as easy as it was with the core.  
  759.      The functions and operation of the two procedures  are nearly 
  760.      identical because the only difference between the two was the 
  761.      actual data being collected and written to disk.   Basically, if 
  762.      you've already created a CORE record, you shouldn't have to read 
  763.      this section. 
  764.  
  765.      The keyword PLY
  766.  
  767.      To create a ply record, the keyword PLY is entered  at the Main>.    
  768.      Upon doing so, a prompt will appear to determine whether you wish 
  769.      to create or edit a ply record. 
  770.  
  771.      Turn back a few pages now if you need additional guidance.  The 
  772.      core create/edit sequence is identical. 
  773.  
  774.      ----------------------------------------------------
  775.         Ply Description:>>                               
  776.         Secondary Text :                                 
  777.         Resin % by Wgt :                                 
  778.                      STRENGTH              MODULUS       
  779.                     0        90          0        90     
  780.         Tens.                                            
  781.         Comp.                                            
  782.         Shear                                              Data Type : STRING
  783.         Poissons Ratio:       Therm.Exp:                   Max.Length: 32
  784.                                                          
  785.         Laminated Ply Thickness:                         
  786.         Dry Fabric Cost:                                 
  787.         Dry Fabric Weight:                               
  788.                                                          
  789.         Text 1:                                          
  790.         Text 2:                                          
  791.                                                          
  792.      ----------------------------------------------------
  793.                          Ply Creation                    
  794.       (  1) >>                                           
  795.      ----------------------------------------------------
  796.                             The PLY Create Screen
  797.       
  798.  
  799.  
  800.      Primary Description
  801.  
  802.      The first item in a PLYDATA record is the primary description of 
  803.      the ply.   This is any 32 characters that you feel will do the 
  804.      job.   Please do not include any commas in the description as  it 
  805.      will be construed as a delimiter,  which will really screw things 
  806.      up.   This description will be used by the laminate construction 
  807.      program when prompting you for ply selections. 
  808.  
  809.      If you want to include a weight or style designation,  it is 
  810.      suggested that you define this first (ie., 24 Woven Roving rather 
  811.      than Woven Roving 24)   This is because the laminate construction 
  812.      program will use only a leading portion of the description in 
  813.      order to maximize the screen display.  Not to worry, however 
  814.      because the full description can be invoked but this will require 
  815.      a few additional keystrokes. 
  816.  
  817.      If  more than 32 characters are input, only the first 32 will be 
  818.      used.  No error or warning will be issued by PCAT that the string 
  819.      was truncated. 
  820.  
  821.      Secondary Description
  822.  
  823.      This is another text line of 32 characters which was  originally 
  824.      intended for the name of the manufacturer, but  what it is 
  825.      actually used for is up to you.   An example here would be a note 
  826.      regarding resin matrix used. 
  827.  
  828.      Resin Content (percentage)
  829.  
  830.      This represents the percent of resin by weight that the  laminate 
  831.      contains.   This is used by the cost and weight analysis program 
  832.      COSAN for calculations.    This entry  does not affect the 
  833.      mechanical properties of the laminate.  The variable is declared 
  834.      as real so a 45.1 would be acceptable. 
  835.  
  836.  
  837.      Tensile Values
  838.  
  839.      Four real values are required to be input here.  Should you not 
  840.      have all the properties a null string will produce zero.   It is 
  841.      suggested that if you are unable to obtain these values from the 
  842.      material distributor,  contact the manufacturer.   If this is not 
  843.      possible, then estimate a value.  Note: These are laid-up values!
  844.  
  845.      When the value is entered, it is converted to scientific notation 
  846.      so that it fits on the screen.   The original precision is saved 
  847.      on disk. 
  848.  
  849.